import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
import 'package:xiandou/Common.dart';

class AboutUsScreen extends StatefulWidget {
  @override
  State<StatefulWidget> createState() =>  AboutUsScreenState();
}

class AboutUsScreenState extends State<AboutUsScreen> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: CupertinoNavigationBar(
        backgroundColor: Colors.white,
        middle: const Text('联系我们'),
      ),
      body: Center(
        child: Container(
          color: Colors.white,
          child: Column(
            children: <Widget>[
              Container(
                margin: const EdgeInsets.only(top: 60),
                decoration: new BoxDecoration(
                  color: Colors.red,
                ),
//                child: Text('Logo'),
                height: 80,
                width: 80,
              ),
              SizedBox(height: 10,),
              Text('闲豆',style: TextStyle(color: Common.blackColor,fontSize: 16,fontWeight: FontWeight.bold),),
              Padding(
                padding: const EdgeInsets.only(left: 40,right: 40,top: 25),
                child: Column(
                  children: <Widget>[
                    Divider(color: Common.xdDividerColor,height: 1,),
                    SizedBox(height: 45,),
                    Text('如果您对闲豆有任何问题和建议欢迎用以下方式联系我们',style: TextStyle(fontSize: 14,fontWeight: FontWeight.normal),),
                    SizedBox(height: 35,),
                    Column(
                      children: <Widget>[
                        Row(
                          children: <Widget>[
                            Image.asset('assets/qq@2x.png',height: 18,width: 18,),
                            SizedBox(width: 6,),
                            Text('QQ群: 112647592'),
                          ],
                        ),
                        SizedBox(height: 10,),
                        Row(
                          children: <Widget>[
                            Image.asset('assets/email@2x.png',height: 18,width: 18,),
                            SizedBox(width: 6,),
                            Text('邮  箱: xiandou@qq.com'),
                          ],
                        ),
                        SizedBox(height: 10,),
                        Row(
                          children: <Widget>[
                            Image.asset('assets/wechat@2x.png',height: 18,width: 18,),
                            SizedBox(width: 6,),
                            Text('微  信: xiandoufangfangwechat'),
                          ],
                        ),
                      ],
                    )
                  ],
                )
              ),
            ],
          ),
        ),
      ),
    );
  }
}